package com.dd.cloud.user.entity.doctor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xt
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "提现收益关联表")
public class DoctorOrderIncomeWithdrawalLink implements Serializable {

    private static final long serialVersionUID = 10086L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 提现编号
     */
    @Column(comment = "提现编号")
    private String withdrawNo;

    /**
     * 收益id
     */
    @Column(comment = "收益id")
    private Integer incomeId;

    /**
     * 状态
     */
    @Column(comment = "1.成功 2.失败 3.处理中")
    private Integer status;

    /**
     * 提现金额
     */
    @Column(comment = "提现金额")
    private Integer money;


    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
